﻿
namespace SharpTag.ID3
{
    /// <summary>
    /// Concrete implementation of the <see cref="AbstractTagReaderFactory"/> class.
    /// </summary>
    public class ID3TagReaderFactory : AbstractTagReaderFactory
    {
        /// <summary>
        /// Creates a new <see cref="ITagReader"/> for ID3v1 Tags.
        /// </summary>
        /// <returns>A new <see cref="ITagReader"/> object.</returns>
        public override ITagReader CreateV1TagReader()
        {
            return new ID3V1TagReader();
        }

        /// <summary>
        /// Creates a new <see cref="ITagReader"/> for ID3v2 Tags.
        /// </summary>
        /// <returns>A new <see cref="ITagReader"/> object.</returns>
        public override ITagReader CreateV2TagReader()
        {
            return new ID3V2TagReader();
        }
    }
}
